import App from './App'
import uvUI from '@/uni_modules/uv-ui-tools'
import configSYS from './config/config'
import Vue from 'vue'
import './uni.promisify.adaptor'
import {Request} from "@/utils/request/index.js"
import DictData from '@/utils/dict/dictFetch.js'

import store from './store';
Vue.prototype.$store = store;

DictData.install()
Vue.config.productionTip = false

Vue.use(configSYS);
Vue.prototype.$hd = uni.$hd
Vue.use(uvUI);
Vue.prototype.$http = uni.$uv.http

App.mpType = 'app'
const app = new Vue({
  store,
  ...App
})
app.$mount()
Request(app)
